package com.scsj.supermarket.bean;

import java.util.HashMap;
import java.util.List;

/**
 * 首页以及很多方面用到的fragment中的商品列表
 */

public class IndexGoodsListBean extends BaseBean {

    private List<IndexGoodsList>list;

    public IndexGoodsListBean(List<IndexGoodsList> list) {
        this.list = list;
    }

    public List<IndexGoodsList> getList() {
        return list;
    }
    public void setList(List<IndexGoodsList> list) {
        this.list = list;
    }

   public static class IndexGoodsList {

        private String index_icon_iv;
        private String index_name_tv;
        private String index_type1_tv;
        private String index_type2_tv;
        private String index_type3_tv;
        private int index_comm_rb;
        private String index_num_tv;
        private String index_content_tv;
        private String index_tiket_tv;
        private String index_cut_tv;


        public IndexGoodsList(HashMap<Integer, Object> map) {
            this.index_comm_rb= (int) map.get(0);
            this.index_name_tv = (String) map.get(1);
            this.index_type1_tv = (String) map.get(2);
            this.index_type2_tv = (String) map.get(3);
            this.index_type3_tv = (String) map.get(4);
            this.index_comm_rb = (int) map.get(5);
            this.index_num_tv = (String) map.get(6);
            this.index_content_tv = (String) map.get(7);
            this.index_tiket_tv = (String) map.get(8);
            this.index_cut_tv = (String) map.get(9);
        }

       public IndexGoodsList(String index_icon_iv, String index_name_tv, String index_type1_tv, String index_type2_tv, String index_type3_tv, int index_comm_rb, String index_num_tv, String index_content_tv, String index_tiket_tv, String index_cut_tv) {
           this.index_icon_iv = index_icon_iv;
           this.index_name_tv = index_name_tv;
           this.index_type1_tv = index_type1_tv;
           this.index_type2_tv = index_type2_tv;
           this.index_type3_tv = index_type3_tv;
           this.index_comm_rb = index_comm_rb;
           this.index_num_tv = index_num_tv;
           this.index_content_tv = index_content_tv;
           this.index_tiket_tv = index_tiket_tv;
           this.index_cut_tv = index_cut_tv;
       }

       public String getIndex_icon_iv() {
            return index_icon_iv;
        }

        public void setIndex_icon_iv(String index_icon_iv) {
            this.index_icon_iv = index_icon_iv;
        }

        public String getIndex_name_tv() {
            return index_name_tv;
        }

        public void setIndex_name_tv(String index_name_tv) {
            this.index_name_tv = index_name_tv;
        }

        public String getIndex_type1_tv() {
            return index_type1_tv;
        }

        public void setIndex_type1_tv(String index_type1_tv) {
            this.index_type1_tv = index_type1_tv;
        }

        public String getIndex_type2_tv() {
            return index_type2_tv;
        }

        public void setIndex_type2_tv(String index_type2_tv) {
            this.index_type2_tv = index_type2_tv;
        }

        public String getIndex_type3_tv() {
            return index_type3_tv;
        }

        public void setIndex_type3_tv(String index_type3_tv) {
            this.index_type3_tv = index_type3_tv;
        }

        public int getIndex_comm_rb() {
            return index_comm_rb;
        }

        public void setIndex_comm_rb(int index_comm_rb) {
            this.index_comm_rb = index_comm_rb;
        }

        public String getIndex_num_tv() {
            return index_num_tv;
        }

        public void setIndex_num_tv(String index_num_tv) {
            this.index_num_tv = index_num_tv;
        }

        public String getIndex_content_tv() {
            return index_content_tv;
        }

        public void setIndex_content_tv(String index_content_tv) {
            this.index_content_tv = index_content_tv;
        }

        public String getIndex_tiket_tv() {
            return index_tiket_tv;
        }

        public void setIndex_tiket_tv(String index_tiket_tv) {
            this.index_tiket_tv = index_tiket_tv;
        }

        public String getIndex_cut_tv() {
            return index_cut_tv;
        }

        public void setIndex_cut_tv(String index_cut_tv) {
            this.index_cut_tv = index_cut_tv;
        }
    }
}
